package com.jmlee.mapper;

import com.jmlee.pojo.Admin;

public interface AStatisticsMapper {

    /**
     * 数据统计
     * @author  xl W
     * @date 2021/3/16 10:40
     */

    //====================================用户统计======================================================

    Integer userWeekCount(String create_time );

    Integer userMonthCount(String yyTime1, String yyTime2 );

    Integer userBanYearCount(String yyTime1, String yyTime2 );

//=============================订单统计======================================================

    Integer ordersWeekCount(String create_time,Long id  );

    Integer ordersMonthCount(String yyTime1, String yyTime2,Long id );

    Integer ordersBanYearCount(String yyTime1, String yyTime2,Long id );
//=============================商品销量统计======================================================

    Integer salesWeekCount(String create_time, Long  id);

    Integer salesMonthCount(String yyTime1, String yyTime2,Long  id);

    Integer salesBanYearCount(String yyTime1, String yyTime2,Long  id);

}
